import axios from 'axios';
import { BaseSelectModel } from '@/types/common';

export interface AllSelectResponse {
  consulSettingKey: BaseSelectModel<string>[];
  consulDC: BaseSelectModel<string>[];
}

// 获取所有下拉框
export function getAllSelect() {
  return axios.get<AllSelectResponse>('/api/dictionary/all-select');
}
